package com.tj.bo.trade.client.enums;

/**
 * @program: binary-option
 * @description
 * @author: binary
 * @create: 2020-06-05 15:53
 **/
public enum OrderStatusEnum {

    OPENING(1,"opening"),
    CLOSING(2,"closing"),
    TIMEOUT_CLOSING(3,"timeout_closing");

    private Integer code;
    private String name;

    OrderStatusEnum(Integer code, String name) {
        this.code = code;
        this.name = name;
    }

    public Integer getCode() {
        return code;
    }

    public OrderStatusEnum setCode(Integer code) {
        this.code = code;
        return this;
    }

    public String getName() {
        return name;
    }

    public OrderStatusEnum setName(String name) {
        this.name = name;
        return this;
    }
}
